<?php #20070419 http://www.framework.altervista.org/FrameWork/applications/03_vwiki/upgrade.inc

upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/admin.inc","$path/admin.inc");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/application.inc","$path/application.inc");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/diff.inc","$path/diff.inc");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/editor.inc","$path/editor.inc");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/index.html","$path/index.html");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/list.inc","$path/list.inc");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/search.inc","$path/search.inc");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/viewer.inc","$path/viewer.inc");


if (file_exists("$path/.admin"))rename("$path/.admin","$path/admin");
if (!file_exists("$path/admin"))mkdir("$path/admin");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/admin/01adminlock.inc","$path/admin/01adminlock.inc");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/admin/02page.inc","$path/admin/02page.inc");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/admin/03diff.inc","$path/admin/03diff.inc");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/admin/04graphics.inc","$path/admin/04graphics.inc");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/admin/index.html","$path/admin/index.html");


if (file_exists("$path/.default"))rename("$path/.default","$path/default");
if (!file_exists("$path/default"))mkdir("$path/default");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/default/FrontPage.en","$path/default/FrontPage.en");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/default/FrontPage.it","$path/default/FrontPage.it");
upgrade_download("http://www.framework.altervista.org/FrameWork/applications/03_vwiki/default/index.html","$path/default/index.html");


?>
